package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class ClientDevice implements java.io.Serializable {

	/**
	 * @see客户设备信息
	 */
	private static final long serialVersionUID = 3709124040018610853L;
	private Long	id;
	private String code;
	private String name;
	private ShebeiType type;
	private ClientInfo	client;
	private ClientKeshi keshi;
	private ProviderInfo provider;
	private String  doorCode;
	private Date   purchaseDate;
	private String year;
	private String serviceName;
	private	String	remark;
	//设备部件
	private Set<DeviceParts> parts = new HashSet<DeviceParts>(0);
	//设备维护记录
	private Set<JobProcInfo> jobs = new HashSet<JobProcInfo>(0);	
	//设备维修记录
	private Set<RepairInfo> repairSet = new HashSet<RepairInfo>(0);
	
	public Set<RepairInfo> getRepairSet() {
		return repairSet;
	}
	public void setRepairSet(Set<RepairInfo> repairSet) {
		this.repairSet = repairSet;
	}
	public Set<JobProcInfo> getJobs() {
		return jobs;
	}
	public void setJobs(Set<JobProcInfo> jobs) {
		this.jobs = jobs;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public ShebeiType getType() {
		return type;
	}
	public void setType(ShebeiType type) {
		this.type = type;
	}
	public ClientInfo getClient() {
		return client;
	}
	public void setClient(ClientInfo client) {
		this.client = client;
	}
	public ClientKeshi getKeshi() {
		return keshi;
	}
	public void setKeshi(ClientKeshi keshi) {
		this.keshi = keshi;
	}
	public String getDoorCode() {
		return doorCode;
	}
	public void setDoorCode(String doorCode) {
		this.doorCode = doorCode;
	}
	public Date getPurchaseDate() {
		return purchaseDate;
	}
	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public ProviderInfo getProvider() {
		return provider;
	}
	public void setProvider(ProviderInfo provider) {
		this.provider = provider;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Set<DeviceParts> getParts() {
		return parts;
	}
	public void setParts(Set<DeviceParts> parts) {
		this.parts = parts;
	}
	

}
